package course15;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class StreamTest3 {
    public static void main(String[] args)throws IOException {
        String name=null;
        BufferedReader name1=new BufferedReader(new InputStreamReader(System.in));
        System.out.println("请输入文字，当输入‘叶冰’，‘樊凡’，‘苏彤’时停止");
        do {
            name=(String)name1.readLine();
            System.out.println(name);
        }while (name.equals("叶冰")||name.equals("樊凡")||name.equals("苏彤"));

    }
}
